package com.example.text.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.text.entity.AdminMenu;

import java.util.List;


/**
 * 菜单表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
public interface  AdminMenuService extends IService<AdminMenu> {

    List<AdminMenu> getMenusByCurrentUser();

    List<AdminMenu> getAllByParentId(int parentId,List<Integer> ids);

    List<AdminMenu> getMenusByRoleId(int rid);
}
